package com.ihighest.app.infox.tools;

import java.util.Comparator;

import com.ihighest.app.infox.bean.ImageItem;

public class YMComparator implements Comparator<ImageItem> {

	@Override
	public int compare(ImageItem o1, ImageItem o2) {
		//按时间排序
		return o2.time.compareTo(o1.time);
	}

}
